package com.bflow.api.bo.ext;

import com.bflow.commons.bean.SelectBean;

import java.io.Serializable;

/**
 * @Name 用户
 * @Author haowen
 * @Date 2018-12-17
 */
public class BflowUserBo implements SelectBean {

    private String userId;
    private String userName;
    private String roleKey;
    private String roleName;
    private String tel;

    public BflowUserBo() {
    }

    public BflowUserBo(String userId, String userName, String roleName, String roleKey, String tel) {
        this.userId = userId;
        this.userName = userName;
        this.roleName = roleName;
        this.roleKey = roleKey;
        this.tel = tel;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoleKey() {
        return this.roleKey;
    }
    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String getRoleName() {
        return this.roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getTel() {
        return this.tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String getValue() {
        return getUserId();
    }

    @Override
    public String getText() {
        return getUserName();
    }
}
